<!DOCTYPE html>
<html>
	<body>
		<?php
			$file = fopen("shadow.txt","a+") or exit("Sorry not able to save the detail");
			fputs($file, $_POST["name"].":");
			fputs($file, $_POST["user_id"].":");
			fputs($file, $_POST["password"].":");
			fputs($file, $_POST["mobile_number"].":");
			fputs($file, $_POST["email_id"]);
			fputs($file,"\n");
			fclose($file);
			header("Location: /index.php");
			exit();
		?>
		<h4>Dear User, Thank you for enrolling.</h4>
		<a href="index.php">Click here to go back to home page</a>
	</body>
</html>


